<div style="margin: 12px;">
{lastposts posts='6'}
{if $lastposts != ''}
<div class="menubk">Recently Published Tips</div>
        <ul style="color:#333; list-style-type: square; list-style-position: outside;">
        {foreach from=$lastposts key=id item=title}
        <li style="text-align: left; font-size: 11px;"><a href="{get_permalink id=$id}" title="{$title}">{$title|truncate:600:"..."}</a></li>
{/foreach}
</ul>
</li>
{/if}
</div>

{capture name=commentor}{comment_author_link}{/capture}
{if $comments != ''}

<h3 id="comments" style="color: #F58220; padding: 10px 0 2px 20px;">{comments_number zero="Respond to " one="1 Response to " more="% Responses to "}<u>{the_title}</u></h3>

  {foreach from=$comments key=key item=comment}
        {globalvar var='comment' value=$comment}
<div id="commentlist" style="margin: 10px; padding: 2px 30px 4px 20px;">
<div id="comment-{comment_ID}" style="color: #999; font-size: 12px; text-align: left; border-bottom: 1px dotted #ccc;">
  		<span id="#comment-{comment_ID}" style="color: #999; font-size: 11px; margin: 6px 6px 6px 0;"><b>{comment_author_link}</b> on {comment_date}</span>
		
</div>

		{comment_text}

</div>


  {/foreach}

{/if}


<div style="padding:5px; margin:5px; background: #E8F0F9; border: 1px solid #666666; font-size: 12px;">

<!--If comments are open-->
{if 'open' == $post->comment_status}

	<h2 style="color: #666; background: #E8F0F9;">Leave a Reply &raquo;</h2>


	<form action="{$siteurl}/wp-comments-post.php" method="post" id="">
		<p>
		<input type="text" name="author" id="author" value="{insert name=var var=comment_author}" size="28" tabindex="1" maxlength="15" />
		<label for="author"><b>&laquo; Name</b></label> {if $req != ''} {_e text='(required)'} {/if}
		<input type="hidden" name="comment_post_ID" value="{$post->ID}" />
		<input type="hidden" name="redirect_to" value="{$redirect_to}" />
		</p>
	
		<p>
		<input type="text" name="email" id="email" value="{insert name=var var=comment_author_email}" size="28" tabindex="2" />
		<label for="email"><b>&laquo; E-mail id</b> (won't be published)</label>{if $req != ''} {_e text='(required)'}{/if}
		</p>
	
		<p>
		<input type="text" name="url" id="url" value="{insert name=var var=comment_author_url}" size="28" tabindex="3" />
		<label for="url"><b>&laquo; Website/Blog</b> <acronym title='Uniform Resource Locater'>URL</acronym></label>
		</p>
	
		<p>
		<textarea name="comment" id="comment" cols="60" rows="6" tabindex="4"></textarea>
		</p>
	
			{if $captcha_image_URL != "" && $blog_user_level == -1}
			{$captcha_hidden_form_fields}
			<p>
			<img src="{$captcha_image_URL}" align="center">
			<input type="text" name="captcha_value_typed"><br>
			Are you a human being? Lets see .. Please type out these numbers.
			</p>
			{/if}
	
		<p>
		<input name="submit" type="submit" tabindex="5" value="{_e text="Submit Comment"}" style="padding: 3px; font-size: 12px;" />
		</p>
	</form>

{else} 

<!--If Comments are closed-->

<p>{_e text="Sorry, the comment form is closed at this time."}</p>

{/if}


<p>For any queries mail us at: <a href="mailto:rabanerjee@gmail.com">rabanerjee@gmail.com</a></p>

</div>

<br />

</div>

<br />